/*
 * users.java
 *
 * Created on November 25, 2003, 1:44 PM
 */

package com.erclab.internal.xpresso.security;

/**
 *
 * @author  rodrigen
 */
public class User {
    
	private int idUser;
	private String netId;
    private String userName;
    private String firstName;
    private String lastName;
    private String email;
    protected String sessionId;
    protected String ipAddress;
    private String[] roles;
    
	/**
	 * @return
	 */
	public String getEmail() {
		return email;
	}


	/**
	 * @return
	 */
	public String getNetId() {
		return netId;
	}

	/**
	 * @return
	 */
	public String[] getRoles() {
		return roles;
	}

	/**
	 * @return
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param string
	 */
	public void setEmail(String string) {
		email = string;
	}


	/**
	 * @param string
	 */
	public void setNetId(String netId) {
		this.netId = netId;
	}

	/**
	 * @param strings
	 */
	public void setRoles(String[] roles) {
		this.roles = roles;
	}

	/**
	 * @param string
	 */
	public void setUserName(String string) {
		userName = string;
	}

	public String toString(){
		return "netId = " + netId;
	}

	/**
	 * @return
	 */
	public int getIdUser() {
		return idUser;
	}

	/**
	 * @param i
	 */
	public void setIdUser(int i) {
		idUser = i;
	}


	public String getSessionId() {
		return sessionId;
	}


	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}


	public String getFirstName() {
		return firstName;
	}


	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}


	public String getIpAddress() {
		return ipAddress;
	}


	public void setIpAddress(String ipAddress) {
		this.ipAddress = ipAddress;
	}


	public String getLastName() {
		return lastName;
	}


	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

}
